package com.test.spring.generic;

import org.springframework.beans.factory.annotation.Autowired;

/**
 * @author lzy
 * @version v1.0
 * Create DateTime: 2018/9/27 16:10
 */
public class BaseService<T> {
    @Autowired
    protected BaseRepository<T> repository;

    public void add() {
        System.out.println("add..");
        System.out.println(repository);
    }
}
